package com.sansan.qiangji.service.impl.warehouse;

import com.sansan.qiangji.entity.warehouse.PullOrder;
import com.sansan.qiangji.entity.warehouse.example.PullOrderExample;
import com.sansan.qiangji.mapper.warehouse.PullOrderMapper;
import com.sansan.qiangji.service.inter.warehouse.PullOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PullOrderServiceImpl  implements PullOrderService {
    
    @Autowired
    private PullOrderMapper pullOrderMapper;
    @Override
    public long countByExample(PullOrderExample example) {
        return pullOrderMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(PullOrderExample example) {
        return pullOrderMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer pullOrderId) {
        return pullOrderMapper.deleteByPrimaryKey(pullOrderId);
    }

    @Override
    public int insert(PullOrder record) {
        return pullOrderMapper.insert(record);
    }

    @Override
    public int insertSelective(PullOrder record) {
        return pullOrderMapper.insertSelective(record);
    }

    @Override
    public List<PullOrder> selectByExample(PullOrderExample example) {
        return pullOrderMapper.selectByExample(example);
    }

    @Override
    public PullOrder selectByPrimaryKey(Integer pullOrderId) {
        return pullOrderMapper.selectByPrimaryKey(pullOrderId);
    }

    @Override
    public int updateByExampleSelective(PullOrder record, PullOrderExample example) {
        return pullOrderMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(PullOrder record, PullOrderExample example) {
        return pullOrderMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(PullOrder record) {
        return pullOrderMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PullOrder record) {
        return pullOrderMapper.updateByPrimaryKey(record);
    }

}
